package com.handsome.桥接模式.解决手机问题;

/**
 * @author niechun
 * @date 2023/2/23 21:07
 */
public abstract class Phone {
    private Brand brand;

    public Phone(Brand brand) {
        this.brand = brand;
    }

    protected void open(){
        brand.open();
    }

    protected void close(){
        brand.close();
    }

    protected void call(){
        brand.call();
    }
}
